<%@ page session="false" contentType="text/html;charset=utf-8"%>

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@include file="inc/head.inc"%>

<body>
<f:view>
	<t:dataTable styleClass="standardTable2" var="tematy"
		value="#{javaTopic.themaList}">
		<t:column>
			<h:panelGrid columns="1" styleClass="standardTable2"
				headerClass="standardTable_Header3"
				footerClass="standardTable_Header"
				rowClasses="standardTable_Row1,standardTable_Row2"
				columnClasses="standardTable_Column2">
				<f:facet name="header">
					<h:panelGrid>
						<h:outputText value="#{tematy.topic}" styleClass="standard_bold" />
						<h:outputText value="Autor: #{tematy.author}"
							styleClass="standard_bold3" />
						<h:outputText value="#{tematy.time}" styleClass="standard3" />
					</h:panelGrid>
				</f:facet>
				<h:column>
					<h:outputText value="#{tematy.contents}"
						styleClass="standard_bold3">
						<f:converter converterId="forum.view.converters.MyNewLineAppender"/>	
					</h:outputText>	
					<h:form id="myForm">
						<h:commandButton id="button1" value="Odpowiedz" action="none">
						</h:commandButton>
						<f:verbatim>&nbsp&nbsp</f:verbatim>	
						<h:commandButton id="button2" value="Odpowiedz Autorowi" action="none">
						</h:commandButton>
						<f:verbatim>&nbsp&nbsp</f:verbatim>	
						<h:commandButton id="button3" value="Zgłoś do moderacji" action="none">
						</h:commandButton>
						<f:verbatim>&nbsp&nbsp</f:verbatim>	
					</h:form>
				</h:column>
			</h:panelGrid>
		</t:column>
	</t:dataTable>
</f:view>
</body>


